<?php

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class Players extends Model
{

    protected $table = 'user';


    //对应关系
    public function team()
    {
        return $this->hasOne('App\Models\Team','id','team_id');
    }


}
